﻿//namespace FFF.Test.Application.DomainServices.Demo
//{
//    using System.Linq;
//    using Abp.Domain.Services;
//    using Abp.Domain.Uow;
//    using Abp.EntityFrameworkCore.Uow;
//    using Abp.EntityFrameworkCore;
//    using AutoMapper;
//    using FFF.Test.Application.Repositories.Demo;
//    using FFF.Test.DataAccess.Framework;
//    using FFF.Test.Entity.Demo;
//    using FFF.Test.Entity.Demo.Dto;

//    /// <summary>
//    /// 学生和课程领域层服务接口
//    /// </summary>
//    public class StudentCourseAggregateService : YdmAbpDomainServiceBase, IDemoStudentDomainService
//    {
//        /// <summary>
//        ///  数据库对象,可以执行sql语句
//        /// </summary>
//        private readonly IDbContextProvider<MyDbContext> _dbContextProvider;

//        /// <summary>
//        /// 学生表仓储
//        /// </summary>
//        private readonly IDemoStudentRepository _demoStudentRepository;

//        /// <summary>
//        /// 学生领域服务
//        /// </summary>
//        private readonly IDemoStudentDomainService _demoStudentDomainService;

//        /// <summary>
//        /// 班级领域服务
//        /// </summary>
//        private readonly IDemoClassDomainService _demoClassDomainService;

//        /// <summary>
//        /// Initializes a new instance of the <see cref="StudentCourseAggregateService"/> class.
//        /// 学生表领域层操作
//        /// </summary>
//        /// <param name="demoStudentRepository">学生表仓储</param>
//        /// <param name="dbContextProvider">数据库访问对象</param>
//        /// <param name="demoStudentDomainService">学生领域</param>
//        /// <param name="demoClassDomainService">课程领域</param>
//        public StudentCourseAggregateService(
//            IDemoStudentRepository demoStudentRepository,
//            IDbContextProvider<MyDbContext> dbContextProvider,
//            IDemoStudentDomainService demoStudentDomainService,
//            IDemoClassDomainService demoClassDomainService

//        )
//        {
//            this._dbContextProvider = dbContextProvider;
//            this._demoStudentRepository = demoStudentRepository;
//            this._demoStudentDomainService = demoStudentDomainService;
//            this._demoClassDomainService = demoClassDomainService;
//        }
//    }
//}
